package com.ltcode.sys.infrastructure.persistence.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 用户和角色关联表持久化对象 sys_user_role
 * 
 * @author ltcode
 * @since 2024-01-01
 */
@Data
@TableName("sys_user_role")
public class SysUserRolePO implements Serializable {
    
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    @TableField("user_id")
    private Long userId;

    /** 角色ID */
    @TableField("role_id")
    private Long roleId;
}
